package beans;

/**
 * @author roze
 *
 */
public class Plateforme {

	private String login;
	private String pwd;
	private User user;
	private Type type;
	
	
	
	/**
	 * @param login
	 * @param pwd
	 * @param user
	 * @param type
	 */
	public Plateforme(String login, String pwd, User user, Type type) {
		super();
		this.login = login;
		this.pwd = pwd;
		this.user = user;
		this.type = type;
	}

	
	
	public Plateforme() {
		super();
	}



	/**
	 * @return le login de la plateforme
	 */
	public String getLogin() {
		return login;
	}
	
	/**
	 * @param login
	 */
	public void setLogin(String login) {
		this.login = login;
	}
	
	/**
	 * @return le mot de passe de la plateforme
	 */
	public String getPwd() {
		return pwd;
	}
	
	/**
	 * @param pwd
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
	/**
	 * @return l'utilisateur de la plateforme
	 */
	public User getUser() {
		return user;
	}
	
	/**
	 * @param user
	 */
	public void setUser(User user) {
		this.user = user;
	}
	
	/**
	 * @return le type 
	 */
	public Type getType() {
		return type;
	}
	
	/**
	 * @param type
	 */
	public void setType(Type type) {
		this.type = type;
	}
	
	
	@Override
	public String toString() {
		return "Plateforme [login=" + login + ", pwd=" + pwd + ", user=" + user
				+ ", type=" + type + "]";
	}	
	
	
}
